import axios from "./api_config"

export function s_login(data){
    return axios.post('/student/login',data)
}
export function register(data){
    return axios.post('/student/reg',data)
}
export function userinfo(data){
    return axios.post('/student/userinfo',data)
}
export function userinfo_edit(data){
    return axios.post('/student/userinfo_edit',data)
}
export function enter_lesson(data){
    return axios.post('/student/enter_lesson',data)
}
export function submit_answer(data){
    return axios.post('/student/submit_answer',data)
}
export function general_questions(data){
    return axios.post('/student/general_questions',data)
}
export function teacher_list(data){
    return axios.post('/student/teacher',data)
}
export function transcripts_list(data){
    return axios.post('/student/transcripts',data)
}
export function submit_teacher_evaluation(data){
    return axios.post('/student/submit_teacher_evaluation',data)
}
export function submit_self_evaluation(data){
    return axios.post('/student/submit_self_evaluation',data)
}



export function exam_questions(data){
    return axios.post('/student/exam_questions',data)
}
export function general_question_delete(data){
    return axios.post('/student/general_question_delete',data)
}
export function general_question_add(data){
    return axios.post('/student/general_question_add',data)
}
export function general_questions_view(data){
    return axios.post('/student/general_questions_view',data)
}

export function upload(data){
    return axios.post('/student/upload',data)
}
export function class_list(data){
    return axios.post('/student/class',data)
}